Prevent focus "stalemates" on Android
authorPo Lu <luangruo@yahoo.com>
Tue, 26 Mar 2024 02:54:39 +0000 (10:54 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 26 Mar 2024 02:54:39 +0000 (10:54 +0800)
commitb7b9a0a5c1afae07b8168e85dcf1fc37d29e98ef
tree0bdab8fad62deebd6d71c8d7df9ebc6ef525a7e0
parent728bf2c9e5353e68b16808ae455223549c16efc6
Prevent focus "stalemates" on Android

* java/org/gnu/emacs/EmacsActivity.java (invalidateFocus1): New
argument resetWhenChildless.
(invalidateFocus): If a toplevel window has no focus window,
transfer focus to the toplevel itself.
java/org/gnu/emacs/EmacsActivity.java